Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the Go file filtering done by build.Default.Import #61

Closed
wants to merge 1 commit into from

Conversation

bboreham
Copy link

Instead of having local functions to examine the filename, discard tests, look at OS and architecture, etc., use the information already provided by build.Default.Import

Fixes #41

Instead of having local functions to examine the filename, discard
tests, look at OS and architecture, etc., use the information already
provided.
@rogpeppe
Copy link
Owner

Thanks for the PR - I've done something very similar, but left the isGoFile definition in place because it's currently used for tests. The tests should be changed to use the new logic at some point. See #62

@rogpeppe rogpeppe closed this May 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants